﻿using System.ComponentModel;

namespace Provausio.DependencyFinder.App.Wpf.Object.ViewModel
{
    public class DependencyFinderViewModel : INotifyPropertyChanged
    {
        private string _checkDirectoryPath;
        public string CheckDirectoryPath
        {
            get
            {
                return _checkDirectoryPath;
            }
            set
            {
                _checkDirectoryPath = value;
                PropertyChanged(this, new PropertyChangedEventArgs("CheckDirectoryPath"));
            }
        }

        private string _dependentFilePath;
        public string DependentFilePath
        {
            get { return _dependentFilePath; }
            set
            {
                _dependentFilePath = value;
                PropertyChanged(this, new PropertyChangedEventArgs("DependentFilePath"));
            }
        }

        private string _searchResults;
        public string SearchResults
        {
            get { return _searchResults; }
            set
            {
                _searchResults = value;
                PropertyChanged(this, new PropertyChangedEventArgs("SearchResults"));
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
